//
// Created by 32827 on 2024/7/8.
//

#ifndef STM32F407RTOS_YZL_TIM_H
#define STM32F407RTOS_YZL_TIM_H
#include "yz.h"

YZF_RESULT yz_tim_pwm_init(YZF_GPIO_POINTER gpio,YZF_GPIO_PIN pin,uint16_t  ch_af,YZF_TIM_POINTER tim,uint16_t ch_id,uint32_t arr,uint32_t psc,uint32_t ccr);
YZF_RESULT yz_tim_pwm_data_set(YZF_TIM_POINTER tim,uint16_t ch_id,uint32_t ccr,uint32_t arr);
YZF_RESULT yz_tim_pwm_deInit(YZF_TIM_POINTER tim,uint16_t ch_id);
#endif //STM32F407RTOS_YZL_TIM_H
